package com.zhen.aikan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijiazhen
 * @since 2023-09-11
 */
@Data
@TableName("tb_history")
@ApiModel(value = "History对象", description = "")
public class History implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private long id;

    @ApiModelProperty("用户账号")
    private String userId;

    @ApiModelProperty("影片id")
    private long vodId;

    @ApiModelProperty("影片特定集数影片地址")
    private String vodPlayUrl;

    @ApiModelProperty("播放了的时间（秒）")
    private Long initialTime;

    @ApiModelProperty("播放到的集数")
    private Integer anthology;

    @ApiModelProperty("更新时间")
    private LocalDateTime historyTime;
}
